package com.mike.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description 测试用的controller
 * @Date 2021/8/4 14:45
 * @Created by mike
 */
@RestController
public class MyController {

    /**
     * 访问地址为 http://localhost:8080/hello
     * @return
     */
    @GetMapping("hello")
    public String hello(){
        return "Hello";
    }
}
